package com.plusjun.gulimall.product.feign;

import com.plusjun.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("gulimall-seckill")
public interface SeckillFeignService {
    @GetMapping("/currentSeckillSkus/{skuId}")
    R skuSeckillInfo(@PathVariable("skuId")Long skuId);
}
